package com.springbootsecuritydemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 前端控制层
 * 用于页面跳转
 *
 * @Author Daft_V
 * @Date 2022/5/3 14:55
 */
@Controller
@RequestMapping("/page")
public class MyController {

    @GetMapping("/index")
    public String index() {
        return "index";
    }

}
